﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MessageLibrary
{
    /// <summary>
    /// Message obsahujici pouze text.
    /// </summary>
    [Serializable]
    public class SimpleMessage : MessageBase
    {
        string text;

        public string Text { get { return text; } set { text = value; } }

        /// <summary>
        /// Vytvori instanci SimpleMessage
        /// </summary>
        /// <param name="s">Text zpravy.</param>
        public SimpleMessage(string s)
        {
            this.text = s;
        }
    }
}
